#include "time_utils.h"
#include "soc/soc_misc.h"

// function buffering delay() 
// arduino uno function doesn't work well with interrupts
void _delay(unsigned long ms){
  SOC_Misc::Delay(ms);
}


// function buffering _micros() 
// arduino function doesn't work well with interrupts
unsigned long _micros(){
  return SOC_Misc::CurrentCpuUs();
}
